package com.chen.common.dataSource.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author: Long
 * @date: 2023/9/8 22:52
 **/
@Data
@ConfigurationProperties(prefix = "spring.datasource")
public class SpringDataSourceProperty {

    /**
     * 数据源集
     */
    private List<DataSourceProperty> dynamics;

    /**
     * druid pool配置
     */
    private DruidPoolProperty druid;
}
